package com.lvyq.qrobot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lvyq.qrobot.entity.SysBarrierSub;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface SysBarrierSubMapper extends BaseMapper<SysBarrierSub> {

    @Select("select * from sys_barrier_sub where  barrier_id = #{barrierId}")
    List<SysBarrierSub> getInfoByBarrierId(@Param("barrierId") Integer barrierId);
}
